package com.sumainfor.wx.tenant.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.wx.tenant.feign.MarketFeignClient;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Author Jack Chen
 * @Create 2019-01-25 14:36
 */
@Component
public class MarketFeignClientFallback implements MarketFeignClient {


    @Override
    public JsonResult AddCommunity(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHousingInfoState(List<Map<String, Object>> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult findHousingDataList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHousingInfoByInfoId(String infoId) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult makeHousing(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHousingListByIds(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult noticeStateResult(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getMakeHousingList(String tenId) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult commentMakeOrder(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    public JsonResult getWaitSignList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    public JsonResult getPactStatus(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙，请稍后重试！");
    }

    public JsonResult getPactSignFlowOne(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getPactSignFlowTwo(String pactId) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getPactSignThreeAndFour(String pactId) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getPactSignFive(String pactId) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getPactSignEight(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙，请稍后重试！");
    }

    public JsonResult getSigningWechatOwner(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    public JsonResult getProvinceList(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    public JsonResult getCityList(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    public JsonResult getDistrictList(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    public JsonResult getStreetList(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    public JsonResult getWechatOwnerCount(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    public JsonResult getWechatOwnerHousing(Map<String, Object> params, Pager pager) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    public JsonResult getWechatHousingMap(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    public JsonResult getPactList(Map<String, Object> params, Pager pager) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getOwnerDealPayMap(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getTenantKepp(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult selectPaymentAndPact(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getTenantHousing(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getTenantInformation(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult insertTenantInformation(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult deleteTenantInformation(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getTrenantBillHousing(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getTenantPactList(Map<String, Object> params) {
        return JsonResult.error("市场部的服务器繁忙，请稍后重试！");
    }
}

